package _34define;

import java.util.HashMap;
import java.util.Map;
import java.util.Set;

public class Homework3 {
    public static void main(String[] args) {
        HashMap<String,Integer> hashMap=new HashMap<>();
        hashMap.put("za",7);
        hashMap.put("ls",8);
        hashMap.put("ww",9);
        hashMap.put("ll",10);
        HashMap<String,Integer> hashMap2=new HashMap<>();
        Set<Map.Entry<String, Integer>> set=hashMap.entrySet();
        System.out.println(1);
        for (Map.Entry<String, Integer> s : set) {
            if (s.getValue()!=7&&s.getValue()!=9){
                hashMap2.put(s.getKey(),s.getValue());
            }
        }
        System.out.println(hashMap2);
    }
}
